<%@ page language="java" contentType="text/html; charset=UTF-8"    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec"    uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<sec:authentication property="principal" var="currentPrincipal" scope="page" />

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>

</head>

<body class="ms-theme-blue">

  <%@ include file="/WEB-INF/include/header.jsp"%>
    
  <%@ include file="/WEB-INF/include/submenu.jsp"%>
  
  <div class="container-fluid ms-container has-ms-sidemenu">
    
    <ol class="ms-breadcrumb breadcrumb">
      <li class="active">运输业务管理-查询安吉调度指令</li>
    </ol>
    
    <div class="ms-content-layout">
    
      
    <div class="ms-operation-bar no-margin no-bottom-border clearfix">
    </div>
      
      <table class="table table-hover ms-table">
        <thead>
            <tr>
              <th>运输公司</th>
              <th>安吉调度指令号</th>
              <th>调度指令组号</th>
              <th>日期</th>
              <th>托运客户</th>
              <th>制造商</th>
              <th>运输方式</th>
              <th>起始地</th>
              <th>目的地</th>
              <th>驳运车号</th>
              <th>装车道号</th>
              <th>调度数量</th>
              <th>预计装运时间</th>
              <th>预计起运时间</th>
              <th>调度指令状态</th>
            </tr>
        </thead>
        <tbody>
           <tr>
             <td>1||1</td>
            <td>202-李剑</td>
            <td>安富</td>
            <td>201600261404</td>
            <td>2016-07-24</td>
            <td>LF64999</td>
            <td>20005-沧海库</td>
            <td>07100-保定</td>
            <td>0.00</td>
            <td>175.00</td>
            <td>175.00</td>
            <td>0.72</td>
            <td>0.20</td>
            <td>35</td>
            <td>33</td>
           </tr>
          <%-- <c:forEach items="${shipments}" var="shipment">
            <tr>
              <td>${empty shipment.transCorpId ? '': persist.organization(shipment.transCorpId).name}</td>
              <td>${shipment.shipmentNumber}</td>
              <td>${shipment.shipmentGroup}</td>
              <td>${shipment.createTime}</td>
              <td>${empty shipment.customerId ? '' : ( persist.client(shipment.customerId).code ).concat( '-' ).concat( persist.client(shipment.customerId).name )}</td>
              <td>${empty shipment.manufactorId ? '' : ( persist.manufacturer(shipment.manufactorId).code ).concat( '-' ).concat( persist.manufacturer(shipment.manufactorId).name )}</td>
              <td>${shipment.transType.description}</td>
              <td>${empty shipment.srcWhId ? '' : ( persist.warehouse(shipment.srcWhId).code ).concat( '-' ).concat( persist.warehouse(shipment.srcWhId).name )}</td>
              <td>${empty shipment.destWhId ? '' : ( persist.warehouse(shipment.destWhId).code ).concat( '-' ).concat( persist.warehouse(shipment.destWhId).name )}</td>
              <td>${empty shipment.transMeansId ? '' : ( persist.vehicle(shipment.transMeansId).code ).concat( '-' ).concat( persist.vehicle(shipment.transMeansId).name )}</td>
              <td>${shipment.driveWay}</td>
              <td>${shipment.loadQuantity}</td>
              <td>${shipment.loadingTime}</td>
              <td>${shipment.leavingTime}</td>
              <td>${persist.masterData('SHIPMENT_STATUS', shipment.status)}</td>
            </tr>
          </c:forEach> --%>
        </tbody>
        
        <tfoot>
          <tr>
            <td colspan="15" class="no-vertical-padding">
              <div class="pull-left">
                <jsp:include page="/WEB-INF/include/page.jsp">
                <jsp:param name="url" value="${ctx.host}/reports" />
                <jsp:param name="queryString" value="${queryString}" />
                </jsp:include>
              </div>
            </td>
          </tr>
        </tfoot>
      </table>

    </div> 
  </div>       
  <%@ include file="/WEB-INF/include/script.jsp"%>
</body>
</html>